package com.poxz.mybatisplus.controller;

import com.poxz.common.response.Result;
import com.poxz.common.response.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查控制层
 *
 * @author poxz
 */
@RestController
@RequestMapping("/health")
public class HealthController {

    @GetMapping
    public Result<String> healthCheck() {
        return ResultUtils.success("API节点正常");
    }
}
